﻿using Bmz.Studio.Phone.Domain;
using System;
using System.Collections.Generic;
using System.Data.Common;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Bmz.Studio.Phone.EntityFramework
{
    public class StudioDbContext : DbContext
    {
        public virtual DbSet<Information> Informations { get; set; }

        public virtual DbSet<ImageInfo> ImageInfos { get; set; }

        public virtual DbSet<TeamMember> TeamMembers { get; set; }

        public StudioDbContext()
            : base("DefaultConnection")
        {
        
        }

        public StudioDbContext(string nameOrConnectionString):base(nameOrConnectionString)
        {

        }

        public StudioDbContext(DbConnection connection):base(connection,true)
        {

        }
    }
}
